<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}DRYCMS{% endblock %}</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
{% include 'base/cssJs.html.twig' %}
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    {% include 'base/header.html.twig' %}
    {% include 'base/side.html.twig' %}
    <div class="layui-body">
        {% include 'base/tab.html.twig' %}
    </div>
    <div class="layui-footer">2019-2020 &copy; <a href="https://www.drycms.com" target="_blank">https://www.drycms.com</a> 版权所有</div>
</div>
<script>
var dryCallback = null;

layui.use(["element"], function(){
    dryCallback = function(p){
        p(layui);
    };
});

layui.use(["jquery", "dry"], function($, dry){
    $("#logout").click(function(){
        dry.logout("/Api/User/logout", "/Admin/Home/login");
    });
    dry.isLogin("/Api/User/isLogin", "/Admin/Home/login", 3000);
});
</script>
</body>
</html>